<template>
  <div class="DecisionTarget_box">
       <el-card class="box-card">
      <div slot="header" class="clearfix">
        <div class="header">决策文件指标申报 <br /></div>
      </div>
      <div class="header1">基本信息</div>
      <el-form
        :model="ruleForm"
        ref="ruleForm"
        label-width="140px"
        class="demo-ruleForm"
      >
        <div class="flexClass">
          <!-- 填报人 -->
          <el-form-item class="inputForm" label="填报人" prop="name">
            <el-input v-model="ruleForm.name"></el-input>
          </el-form-item>
          <!--申报单位  -->
          <el-form-item class="inputForm" label="申报单位" prop="region">
            <el-select v-model="ruleForm.region" placeholder="请选择活动区域">
              <el-option label="区域一" value="shanghai"></el-option>
              <el-option label="区域二" value="beijing"></el-option>
            </el-select>
          </el-form-item>

          <!-- 决策文件签订时间 -->
          <el-form-item class="inputForm" label="决策文件签订时间" required>
            <el-col :span="3">
              <el-form-item prop="date1">
                <el-date-picker
                  v-model="ruleForm.date"
                  type="date"
                  placeholder="选择日期"
                >
                </el-date-picker>
              </el-form-item>
            </el-col>
          </el-form-item>
           <!-- 补充决策文件签订时间 -->
          <el-form-item class="inputForm" label="决策文件签订时间" required>
            <el-col :span="3">
              <el-form-item prop="date1">
                <el-date-picker
                  v-model="ruleForm.date1"
                  type="date"
                  placeholder="选择日期"
                >
                </el-date-picker>
              </el-form-item>
            </el-col>
          </el-form-item>
        
            </el-col>
          </el-form-item>
        </div>
        <!-- 上报说明 -->
        <el-form-item label="上报说明" prop="desc" class="shangbaoCalss">
          <el-input type="textarea" v-model="ruleForm.desc"></el-input>
        </el-form-item>
      </el-form>
    </el-card>
    <el-card class="box-card">
          <!-- 缴费详情 -->
  <div slot="header" class="PaymentDetails">
    <span>缴费详情</span>
  </div>
    <div class="PaymentDetails_box">
        <div class="PaymentDetails_Key">
            <h5 >缴费税种</h5>
            <h5 >预交指标(万元)</h5>
            <h5 >清算指标(万元)</h5>
        </div>
        <div class="PaymentDetails_Value"
        v-for="(item,index) in arr" :key="`PaymentDetails_Value${index}`"
        :class="{bgc:index/2!=0}"
        >
            <div class="PaymentDetails_div_Value">{{item.name}}</div>
            <div class="PaymentDetails_div_Value"><el-input v-model="input" placeholder="请输入内容"></el-input></div>
            <div class="PaymentDetails_div_Value">{{item.totle}}</div>
        </div>
     <div class="xuxian">合计:99999</div>
    </div>
</el-card>
  
 <RelevantAttachments />
  </div>
</template>
<script >
import RelevantAttachments from "./components/RelevantAttachments";
export default {
  name: "",
  components: {
    RelevantAttachments,
  },
  data() {
    return {
      //假数据
      arr: [
        { name: "火火恍恍惚惚或", age: "age", totle: "1234" },
        { name: "1", age: "age", totle: "1234" },
      ],
      // 变量
      ruleForm: {
        // 填报人
        name: "",
        // 申报单位
        region: "",
        //决策文件签订时间
        date: "",
        // 补充决策文件签订时间
        date1: "",

        // 上报说明
        desc: "",
      },
    };
  },
};
</script>

<style scoped lang='scss'>
// 外部class
.DecisionTarget_box {
  padding-top: 20px;
}
// 基本信息 class
.flexClass {
  display: flex;
}
// 二级标题
.header1 {
  margin-bottom: 20px;
  margin-left: 50px;
}
// 一级标题颜色
.header {
  color: #498ab8;
  margin-bottom: 20px;
}
// 上报说明class
.shangbaoCalss {
  width: 60.8%;
}
// 表单input
.inputForm {
  margin-right: 10px;
}
/*
缴费详情  Kai 
*/
.PaymentDetails {
  margin: 0 auto;
  width: 100%;
}

// 缴费详情 Box
.PaymentDetails_box {
  padding-bottom: 20px;
  width: auto;
  border: 1px solid rgb(150, 143, 143);
}
// 缴费详情 表格标题
.PaymentDetails_Key {
  color: #fff;
  font-size: 18px;
  display: flex;
  justify-content: space-around;
  background-color: #5093be;
}

// 缴费详情内容
.PaymentDetails_Value {
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  margin-top: 20px;
}
// 缴费详情斑马线
.bgc {
  background-color: #edeff5;
}
// 缴费详情 Value
.PaymentDetails_div_Value {
  text-align: center;
  width: 100px;
  font-size: 15px;

  width: 150px;
}
// 合计虚线
.xuxian {
  padding-right: 50px;
  text-align: right;
  margin-top: 20px;
  border-top: 1px dashed #000;
  height: 40px;
  line-height: 40px;
}
// 缴费详情  Kai ------------------------>>>
</style>